package com.randi.common.core.page;

/**
 * @author ziye
 */
public class PageObject {

    private int pageNum;
    private int pageSize;
    private long total;
    private Object content;

    public int getPageNum() {
        return pageNum;
    }

    public PageObject setPageNum(int pageNo) {
        this.pageNum = pageNo;
        return this;

    }

    public int getPageSize() {
        return pageSize;
    }

    public PageObject setPageSize(int pageSize) {
        this.pageSize = pageSize;
        return this;
    }

    public long getTotal() {
        return total;
    }

    public PageObject setTotal(long total) {
        this.total = total;
        return this;
    }

    public Object getContent() {
        return content;
    }

    public PageObject setContent(Object content) {
        this.content = content;
        return this;
    }

}
